package com.university.evaluation.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.university.evaluation.entity.Appeal;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AppealMapper extends BaseMapper<Appeal> {

    // 可以在这里添加自定义的SQL方法
    List<Appeal> findByStudentId(Long studentId);
    List<Appeal> findByStatus(Integer status);
    List<Appeal> findByScoreDetailId(Long scoreDetailId);

}